import Router from 'koa-router' ;
import { findAllControllerFiles, registryRoute } from './helper.js';;


const router = new Router();



let allControllerFiles = findAllControllerFiles();


registryRoute(router, allControllerFiles)



export const routes = function () {

    return router.routes();
}